﻿
Ext.define('AdminTabPanel', {
    extend: 'Ext.tab.Panel',
    width: "100%",
    height: Global_visualConfig.getGridHeight(),   
    renderTo: "dMain",
    initComponent: function () {
        Ext.apply(this, { 
         items: [
                    new administration.grid.dayLog({ title: 'ЗАГРУЗКИ' }),
                    new administration.grid.dayDocuments({ title: 'ДОКУМЕНТЫ' }),
            {
                title: 'ПОЛЬЗОВАТЕЛИ'
            }
       //   ,  new Administration.panel.treeDrugDictionary()
//           {
//                title: 'СПРАВОЧНИКИ'
//                
//            }
            ]
        });
        AdminTabPanel.superclass.initComponent.apply(this, arguments);
    }
});



function Main() {
    var tabs = Ext.create('AdminTabPanel');
    //new Administration.panel.treeDrugDictionary({renderTo: "dMain"});
}


 